package org.example.mall.admin.model.vo.manage;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.example.mall.admin.model.entity.manage.Account;
import org.example.mall.admin.model.entity.manage.Role;

import java.util.List;

/**
 * @author hzq
 * @date 2022/1/1 21:07
 */

@Data
public class AccountVo extends Account {

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "角色列表")
    private List<Role> roles;
}
